<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <#assign currentMenu = "systemNotice">
    <#include "../common/header.ftl">
    <script type="text/javascript" src="/js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/plugins/message/jquery.bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#searchForm").ajaxForm(function (data) {
                console.log(data);
                if (data.success){
                   location.href="/user/list.do";
               } else {
                   $.messager.alert("温馨提示:", data.msg)
               }
            });
        });
    </script>
</head>
<body>
<div class="container " style="margin-top: 20px">
    <#include "../common/top.ftl">

    <div class="row">
        <div class="col-lg-3">
            <#include "../common/menu.ftl">
        </div>
        <div class="col-lg-9">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-head-line">系统公告管理</h1>
                </div>
            </div>
            <#--<input type="text" name="content" id="content"><br>-->
            <form class="form-inline" id="searchForm" action="/systemNotice/save.do" method="post">
                <div>
                    <span>公告标题:</span>
                    <div>
                        <input type="text" name="title" id="title">
                    </div>
                </div><br>
                <div>
                    <span>发布内容:</span>
                    <div>
                        <textarea rows="15" cols="69%" name="content" id="content"></textarea>
                    </div>
                </div><br>
                <input type="submit" value="发布">
            </form>
        </div>
    </div>
</div>
</body>
</html>